<?php

	class AppError extends ErrorHandler {
		function shopNoExists($params) {
			extract($params, EXTR_OVERWRITE);
			header("HTTP/1.0 404 Not Found");
			
			$this->controller->layout = 'error';
			
			$this->controller->set(array(
				'url' => FULL_BASE_URL . $this->controller->here,
				'shopAlias' => $shopAlias,
				'title' => __('Oops, la tienda no existe', true)
			));
			
			$this->_outputMessage('shop_no_exists');
		}
	}	
